package com.funny.stock.user.dao.repo;

import com.funny.stock.user.dao.pojo.SysUserDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Description  
 * @Author  pengl
 * @Date 2020-05-17 
 */

@Repository
public interface SysUserRepo extends JpaRepository<SysUserDO,Long> {

    SysUserDO findByLoginAccount(String loginAccount);

    SysUserDO findByUserId(Long userId);

}
